package per.hx.bs.entity.sys;

import com.baomidou.mybatisplus.annotations.TableName;
import per.hx.bs.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * @author HuXing
 * @date 2018/4/20  17:13
 */
@TableName("sys_user_dept")
public class SysUserDeptDO extends BaseEntity {
    private Long id;
    private Long userId;
    private Long deptId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return "SysUserDeptDO{" +
                "id=" + id +
                ", userId=" + userId +
                ", deptId=" + deptId +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
